package avicit.bdp.dds.dao.entity;

import avicit.bdp.common.base.BaseDTO;
import avicit.platform6.core.annotation.log.Id;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * DS命令实体类(bdp_command)
 */

@Table(name="bdp_dds_analysis")
public class Analysis extends BaseDTO {
    /**
     * id
     */
    @Id
    @javax.persistence.Id
    @Column(name = "id")
    private String id;

    /**
     * command type
     */
    @Column(name = "name")
    private String name;

    /**
     * process definition id
     */
    @Column(name = "datasource_id")
    private String datasourceId;

    /**
     * command parameter, format json
     */
    @Column(name = "project_id")
    private String projectId;

    /**
     * task depend type
     */
    @Column(name = "sqls")
    private String sqls;

    /**
     * task depend type
     */
    @Column(name = "remark")
    private String remark;


    public Analysis() {

    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDatasourceId() {
        return datasourceId;
    }

    public void setDatasourceId(String datasourceId) {
        this.datasourceId = datasourceId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getSqls() {
        return sqls;
    }

    public void setSqls(String sqls) {
        this.sqls = sqls;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Analysis{" +
                "id=" + id +
                ", name=" + name +
                ", datasourceId=" + datasourceId +
                ", projectId=" + projectId +
                ", sqls='" + sqls + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
